package com.nefu.softlab.xjwc.model;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author : Ar1es
 * @date : 2020/2/7
 * @since : Java 8
 */
@Data
@NoArgsConstructor
public class Project implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 项目表
     */
    private Integer projectId;

    /**
     * 活动ID
     */
    private Integer activityId;

    /**
     * 项目名称
     */
    private String name;

    /**
     * 项目信息
     */
    private String info;

    /**
     * 项目负责人
     */
    private String leader;

    /**
     * 活动单位
     */
    private String unit;

    /**
     * 项目总分
     */
    private String score;

    /**
     * 文件的超链接
     */
    private String docUrl;

    @Override
    public String toString() {
        return projectId + " " + activityId + " " + name + " " + info + " " + leader + " " + unit + " " + score;
    }


    public Project(Integer projectId) {
        this.projectId = projectId;
    }
}
